package com.a2j.beans.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * Author: bzb
 * Data: 2021/8/10 19:01
 * Desc: App版本号
 */
@Data // 标记data
@Builder // Builder设计模式
@NoArgsConstructor // 无参构造
@AllArgsConstructor // 所有参数的构造
@ApiModel(description = "App版本号(学习)")
public class AppVersionBean implements Serializable {

    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    @ApiModelProperty(value = "版本号(数字)")
    private Integer version;

    @ApiModelProperty(value = "版本号(字符)")
    private String versionName;

    @ApiModelProperty(value = "安装包下载地址")
    private String downloadUrl;
}